package org.jeecg.modules.demo.service;

import org.jeecg.modules.demo.entity.CeshiSub_01;
import org.jeecg.modules.demo.entity.CeshiMain001;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 钉钉单号
 * @Author: jeecg-boot
 * @Date:   2022-11-25
 * @Version: V1.0
 */
public interface ICeshiMain001Service extends IService<CeshiMain001> {

	/**
	 * 添加一对多
	 *
	 * @param ceshiMain001
	 * @param ceshiSub_01List
	 */
	public void saveMain(CeshiMain001 ceshiMain001,List<CeshiSub_01> ceshiSub_01List) ;
	
	/**
	 * 修改一对多
	 *
   * @param ceshiMain001
   * @param ceshiSub_01List
	 */
	public void updateMain(CeshiMain001 ceshiMain001,List<CeshiSub_01> ceshiSub_01List);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
